package com.woniuxy.commons.exception;

import lombok.Data;

/**
 * 当前项目的异常根类
 */
@Data
public class WoniuxyException extends RuntimeException {
    //描述具体业务场景的异常状态码
    private Integer code;
    public WoniuxyException(Integer code,String message){
        super(message);
        this.code=code;
    }
}
